@import "_variables.scss";

@font-face{
  font-family: YouSheBiaoTiHei;
  src: url('@/fonts/YouSheBiaoTiHei.ttf');
  
}
body{
  font-family: 'YouSheBiaoTiHei' !important;
}
// 变量样式

//border-radius
@each $sizekey, $size in $spacing-sizes{
  .borderrs-#{$sizekey} {
    border-radius: $size * $spacing-radius-border;
  }
}

//w- h-
.h-auto{
	height:auto;
}
@each $key, $value in $wheight-sizes {
  .h-#{$key} {
    height: $value !important
  }
}
@each $key, $value in $wheight-sizes {
  .w-#{$key} {
    width: $value
  }
}

//颜色
@each $colorkey, $color in $colors {
  .text-#{$colorkey} {
    color: $color;
  }

  .bg-#{$colorkey} {
    background-color: $color !important;
    // box-shadow: 0px 0px 4px 1px #afafaf;
  }
  .border-#{$colorkey} {
    border: 2px solid $color;
  }
}

//对齐
@each $var in (left, center, right) {
  .text-#{$var} {
    text-align: $var !important;
  }
}

//flex
@each $key, $value in $flex-jc {
  .jc-#{$key} {
    justify-content: $value;
  }
}

@each $key, $value in $flex-ai {
  .ai-#{$key} {
    align-items: $value;
  }
}

//字体
@each $fontkey, $fontvalue in $font-sizes {
  .fs-#{$fontkey} {
    font-size: $fontvalue * $base-font-size;
  }
}

//.mt-1 => margin top
//spacing

@each $typekey, $type in $spacing-types {
  //.m-1
  @each $sizekey, $size in $spacing-sizes {
    .#{$typekey}-#{$sizekey} {
      #{$type}: $size * $spacing-base-size;
    }
  }

  //.mx-1
  @each $sizekey, $size in $spacing-sizes {
    .#{$typekey}x-#{$sizekey} {
      #{$type}-left: $size * $spacing-base-size;
      #{$type}-right: $size * $spacing-base-size;
    }

    .#{$typekey}y-#{$sizekey} {
      #{$type}-top: $size * $spacing-base-size;
      #{$type}-bottom: $size * $spacing-base-size;
    }
  }

  //.mt-1
  @each $directionkey, $direction in $spacing-directions {
    @each $sizekey, $size in $spacing-sizes {
      .#{$typekey}#{$directionkey}-#{$sizekey} {
        #{$type}-#{$direction}: $size * $spacing-base-size !important;
      }
    }
  }

  .#{$typekey} {
    #{$type}: 0;
  }
}



/**
 * 全局样式
 */
.bd-none{
	border: none !important;
}
.word_break{
	word-break: break-all;
}
.btn {
	background-color: #3b77b3;
	color: #FFFFFF;
	margin: 20rpx 40rpx;
	font-size: 18px !important;
	min-width: 200rpx;
	width: auto;
	text-align: center;
	border-radius: 10rpx;
}
.mini-btn{
	margin-right: 50rpx;
}

uni-button::after{
	border: none !important;
} 
.o-auto{
	overflow: auto;
}

.uni-forms-item__content::v-deep,.uni-easyinput__placeholder-class::v-deep,.uni-select__input-placeholder::v-deep,.uni-forms-item__label::v-deep,.uni-date__x-input::v-deep{
	font-size: 18px !important;
}
.ve__drawer-header__title{
	font-size: 18px !important;
}
.uni-pagination{
	margin-top: 20rpx;
}
.uni-pagination__num-current .uni-pagination__num-tag {
	min-width: 30px;
}
.uni-card{
	padding: 0 !important;
	margin: 0 !important;
}


/* #ifdef H5 */
uni-page-body, .fix-top-window{
	overflow: auto;
}
/* #endif */

.uni-container{
	min-width: 1920rpx;
}

.mask{
	opacity: 1;
	position: fixed;
	top:0;
	inset: 0px;
	background-color: rgba(0, 0, 0, 0.4);
	transition: opacity 300ms ease 0ms, -webkit-transform 300ms ease 0ms, transform 300ms ease 0ms;
	transform-origin: 50% 50%;
	margin-top: 60px;
}

.popup-manager {
	background: #fff;
	padding: 20px;
	border-radius: 5px;
	margin: 0 auto;
}

.title-text{
	font-size: 22px;
}

.active-Loc {
	&:before {
		content: "";
		position: absolute;
		right: 0;
		bottom: 0;
		// border: 12px solid #f6ad3a;
		border: 12px solid #3a6bf6;
		border-top-color: transparent;
		border-left-color: transparent;
	}

	&:after {
		content: "";
		width: 5px;
		height: 10px;
		position: absolute;
		right: 4px;
		bottom: 5px;
		border: 1px solid #fff;
		border-top-color: transparent;
		border-left-color: transparent;
		transform: rotate(40deg);
	}
}